package com.emip.service;

import java.util.List;

import com.emip.bean.RoleBean;

public interface RoleService {
	public List<RoleBean> getAll();
	public RoleBean getRoleByID(int id);
	public RoleBean addRole(String name, String description);
	public RoleBean updateRole(int id, String name, String description);
	public Boolean deleteRole(int id);
	
	//set role_menu
	public Boolean setRoleMenus(int roleID, String[] menuIDs);
}
